﻿<?Lassoscript
// Last modified 11/27/07 by ECL, Landmann InterActive

// FUNCTIONALITY
// Portfolio Group search form

// CHANGE NOTES
// 11/27/07
// First implementation

If($svDebug == 'Y');
	'<p class="debug"><strong>frm_portfoliogroupsearch</strong></p>\n';
/If;

// Converting action_params
Var('vError' = Action_Param('Error'));
Var('vSearchFor' = Action_Param('SearchFor'));
Var('vActive' = Action_Param('Active'));

// Standard Error Table
If($vError != '');
	LI_ShowError3(-ErrNum=$vError, -Option=$vOption);
/If;
?>
<h2>[LI_ShowIconByDataType]&nbsp;&nbsp;Portfolio Group Search</h2>
<form action="[$svAdminControllersPath][$svSearchResponsePage]" method="post">
	<table width="500">
		<tr>
			<td width="120" class="tablehead_10_white_right">Search For</td>
			<td width="280" bgcolor="#f0f0f0">
				<input type="text" name="SearchFor" value="[$vSearchFor]" size="32" maxlength="255">
			</td>
		</tr>
		<tr>
			<td width="120" class="tablehead_10_white_right">Active</td>
			<td width="280" bgcolor="#f0f0f0">
				<select name="Active"> 
					<option value=""[If(Var('vActive') == '')] selected[/If]>--- Show All ---</option>
					<option value="Y"[If(Var('vActive') == 'Y')] selected[/If]>Active</option>
					<option value="N"[If(Var('vActive') == 'N')] selected[/If]>Inactive</option>
				</select>
			</td>
		</tr>
		<tr>
			<td colspan="2" bgcolor="#666666">
				<div align="center">
					<input type="hidden" name="NewQuery" value="Y">
					<input type="hidden" name="DataType" value="PortfolioGroup">
					<input type="submit" name="-Nothing" value="Search">
				</div>
			</td>
		</tr>
	</table>
</form>
<br>